﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LinhVucConChiTiet.aspx.cs" Inherits="Admin_LinhVuc_LinhVucConChiTiet" %>
<%@Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">

        .style2
        {
            width: 332px;
        }
        .style3
        {
            height: 71px;
        }
        .style4
        {
            width: 332px;
            height: 71px;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Label ID="Label1" runat="server" Text="Chọn Lĩnh Vực Cha"></asp:Label>
        <asp:DropDownList ID="comboboxCha" runat="server" Height="16px" Width="229px">
        </asp:DropDownList>
        <asp:Button ID="btnChonCha" runat="server" Text="Chọn" 
            onclick="btnChonCha_Click" Width="113px" />
   <label style="padding-right:500px"></label>
        <asp:Button ID="btnBack" runat="server" Text="Thoát" Width="136px" onclick="BtnCancel_Click"  />
    
    </div>
    <asp:Label ID="Label2" runat="server" Text="Chọn Lĩnh Vực Con"></asp:Label>
    <asp:DropDownList ID="comboboxCon" runat="server" Height="16px" Width="228px">
    </asp:DropDownList>
    <asp:Button ID="btnchonCon" runat="server" Text="Chọn" 
        onclick="btnchonCon_Click" Width="113px" />
        
       <asp:Panel ID="Panel1" runat="server">
             <table border="0" style="width: 100%; height: 372px;" frame="border">
        <tr>
            <td align="right" class="style9">
                <asp:Label ID="Label3" runat="server" Text="Tiêu Đề ( bắt buộc)"></asp:Label>
            </td>
            <td class="style2">
                <asp:TextBox ID="txtTieude" runat="server" Width="220px" MaxLength="100"></asp:TextBox>
                &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTieude" ValidationGroup="log"
                    ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
              </td>
            <td rowspan="4">
            <CKEditor:CKEditorControl ID="CKEditor1" runat="server" Height="496px" 
                    ResizeMinHeight="700" TextMode="MultiLine" Width="623px" 
                    style="margin-top: 0px" ImagePreviewText="../images/"></CKEditor:CKEditorControl>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="Label5" runat="server" Text="Ngày Đăng tin (bắt buộc)"></asp:Label>
            </td>
            <td class="style2">
                <asp:Calendar ID="Calendar1" runat="server" BackColor="White" 
                    BorderColor="#3366CC" BorderWidth="1px" CellPadding="1" 
                    DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" 
                    ForeColor="#003399" Height="200px" Width="220px">
                    <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                    <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                    <WeekendDayStyle BackColor="#CCCCFF" />
                    <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                    <OtherMonthDayStyle ForeColor="#999999" />
                    <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                    <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                    <TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" 
                        Font-Bold="True" Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
                </asp:Calendar>
            </td>
        </tr>
        <tr>
            <td align="right" class="style9">
                <asp:Label ID="Label6" runat="server" Text="Hình Ảnh"></asp:Label>
            </td>
            <td class="style2">
               1.  <asp:FileUpload ID="FileUpload1" runat="server"/>
                 <br />
               2. <asp:FileUpload ID="FileUpload2" runat="server"/>
                 <br />
               3. <asp:FileUpload ID="FileUpload3" runat="server"/>
                <br />
               4.  <asp:FileUpload ID="FileUpload4" runat="server"/>
                <br />
               5. <asp:FileUpload ID="FileUpload5" runat="server"/>
            </td>
        </tr>
        
        <tr>
            <td align="right" class="style3">
                </td>
               
            <td class="style4"><asp:CheckBox id="chk_source" runat="server" Text="Copy ?" /><br />
                <asp:Button ID="btnSave" runat="server" onclick="btnSave_Click" Text="Lưu" ValidationGroup="log"
                    Width="220px" />
                <asp:Button ID="BtnCancel" runat="server" Text="Hủy" Width="220px" 
                    onclick="BtnCancel_Click" />
            </td>
        </tr>
    </table>
        </asp:Panel>
       
         <div style="padding-top:20px;border-width:2px;border-color:Silver">
              <asp:DataList ID="DataListYahoo" runat="server" CellPadding="4" 
                  ForeColor="#333333" BorderStyle="Solid" BorderWidth="1px" GridLines="Both">
                  <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                      <ItemTemplate>
                       <div style="float:left;">
                        <div style="float:left;width:100px;"><%# DataBinder.Eval(Container.DataItem, "MucPhapLuat_ConID")%></div>
                        <div style="float:left;width:500px;"><%# DataBinder.Eval(Container.DataItem, "MucPhapLuat_ConTieuDe")%></div>
                        <div style="float:left;width:100px;"><a href='LinhVucConChiTiet.aspx?delete=<%# DataBinder.Eval(Container.DataItem, "MucPhapLuat_ConID")%>&TableParentID=<%# DataBinder.Eval(Container.DataItem, "TableParentID")%>&MucPhapLuatID=<%# DataBinder.Eval(Container.DataItem, "MucPhapLuatID")%>'>Xóa</a></div>
                       </div>
                      </ItemTemplate>
                  <AlternatingItemStyle BackColor="White" />
                  <ItemStyle BackColor="#E3EAEB" />
                  <SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                  <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
              </asp:DataList>
          </div>
    </form>
</body>
</html>
